Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix closing of AudioContext that is already closed #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

otacke
Copy link
Contributor

@otacke otacke commented Sep 24, 2020

When you were retrying after being done, the 'retry' handler was trying to close the AudioContext that had already been closed by the 'done' handler thus throwing an exception. Fixed by checking the AudioContext's state for being closed already before trying to close it.

When you were retrying after being done, the 'retry' handler was
trying to close the AudioContext that had already been closed by
the 'done' handler thus throwing an exception. Fixed by checking
the AudioContext's state for being closed already before trying
to close it.
@otacke otacke force-pushed the fix-audio-context-close branch from 914871a to 602eb62 Compare May 27, 2021 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant